<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<div th:include="include :: header"></div>
<script type="text/javascript" src="/js/face/liveplayer-element.min.js"></script>
<script>  
 	videojs.options.flash.swf = "/js/face/liveplayer.swf";
</script>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content" style="width:50%;margin: auto;text-align: center;" >
                     
					<h1 th:text="${info?.name}" >东方卫视</h1>
					<live-player id="player01" 
						th:video-url="${info?.fetchUrl}" live="true"
						stretch="true"  autoplay="true" ></live-player>
				 
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 安装vlc时候勾选插件支持 -->
<!-- <object type='application/x-vlc-plugin' pluginspage="http://www.videolan.org/" id='vlc' events='false' width="720" height="410">
    <param name='mrl' th:value="${info?.fetchUrl}" />
    <param name='volume' value='50' />
    <param name='autoplay' value='true' />
    <param name='loop' value='false' />
    <param name='fullscreen' value='false' />
    <param name='controls' value='false' />
</object> -->

<div th:include="include::footer"></div>
</body>
</html>
